package com.htn.common.core.constant;

/**
 * 1 好评
 * 0 一般
 * -1 差评
 * */
public enum EvaluateEnum {
    PRAISE(1, "好评"),
    GENERAL(0,"一般"),
    NEGATIVECOMMENT(-1,"差评")
    ;



    private final int value;
    private final String name;

    EvaluateEnum(int value, String name){
        this.value = value;
        this.name = name;
    }

    public String getName(){
        return name;
    }

    public int getValue(){
        return value;
    }
}
